package com.cx.service;

import com.cx.entity.Book;
import com.cx.mapper.BookMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface BookService {
    List<Book> selectAllBook();

    Book selectBookById(int bookId);

    int deleteDept(int bookId);

    int updateDept(Book book);

    int insertDept(Book book);
}
